package com.yet.kotlinapp

import android.os.Bundle
import android.view.View
import com.blankj.utilcode.util.LogUtils
import com.blankj.utilcode.util.ToastUtils
import com.kongzue.dialogx.dialogs.WaitDialog
import com.qmuiteam.qmui.arch.QMUIFragmentActivity
import com.qmuiteam.qmui.widget.dialog.QMUITipDialog
import com.yet.kotlinapp.api.WangAndroidApi
import com.yet.kotlinapp.databinding.ActivityMainBinding
import com.yet.kotlinapp.entity.LoginResponseInfo
import com.yet.kotlinapp.net.ApiClient
import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
import io.reactivex.rxjava3.core.Observer
import io.reactivex.rxjava3.disposables.Disposable
import io.reactivex.rxjava3.schedulers.Schedulers


class MainActivity : QMUIFragmentActivity() {

    lateinit var activitybing:ActivityMainBinding;

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        activitybing = ActivityMainBinding.inflate(layoutInflater)
        var rootView: View = activitybing.root
        setContentView(rootView)
        activitybing.btLogin.setOnClickListener {
            val user:String = activitybing.edUser.text.toString()
            val pw:String = activitybing.edPw.text.toString()

        }

    }
}